package com.wanshi.member.service;

import com.wanshi.member.base.Result;
import com.wanshi.member.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wanshi.member.req.MemberREQ;
import com.wanshi.member.req.PasswordREQ;
import com.wanshi.member.req.StaffREQ;

/**
 * <p>
 * 员工信息表 服务类
 * </p>
 *
 * @author 顽石教育-www.wanshi.com
 * @since 2021-05-08
 */
public interface IStaffService extends IService<Staff> {

    Result login(String username, String password);

    Result getUserInfo(String token);

    Result search(long page, long size, StaffREQ req);

    Result checkPassword(PasswordREQ req);

    Result updatePassword(PasswordREQ req);
}
